<?php

/**
 * Created by PhpStorm.
 * User: koastal
 * Date: 2016/5/15
 * Time: 19:28
 */
class indexController extends Controller
{
    function index()
    {
        $indexModel = new indexModel();
        $data = $indexModel->getUserList();
        $this->assign("title","新世界");
        $this->assign("content","大航海时代已经来临了");
        $this->assign("userList",$data);
        $this->display("index.html");
    }
    function show(){
        var_dump($_REQUEST);
    }
}